<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>收货地址</title>
</head>
<body>
<div id="check_box">
    <article class="viewports">
        <ul class="imglist01 c3">
           <c:forEach var="item" items="${addressessList}">
            <li class="odr_b mb10">
                <div class="layout-box ptb20">
                    <div class="A-checkbox mr20"><input class="subBox" type="checkbox" checked="checked"/><label></label></div>
                    <div class="box-col">
                        <div>收货人：${item.consigneeName}<span class="r">${item.consigneePhone}</span></div>
                        <div class="hgt2 mt10 c6">收货地址：${item.provinceName}${item.cityName}${item.districtName} </div>
                    </div>
                    <div class="pl20 mt10">
                        <a href="${ctx}/edit/address?id=${item.addressId}">
                        <i class="ico-30 ico_edit"></i>
                        </a>
                    </div>
                </div>
            </li>
       </c:forEach>
        </ul>
    </article>

    <div class="buy_height"></div>
    <div class="p_fotbtn tac">
        <a class="b-ffaa3b cf ptb25" href="${ctx}/add/address">新建收货地址</a>
    </div>
    <!--end 底下购物按钮-->
</div>
</body>
</html>
